package com.itrip.service;


import com.itrip.pojo.ItripHotelRoom;
import com.itrip.pojo.ItripUser;
import com.itrip.vo.user.LoginVO;

import java.util.List;

public interface UserService {
    List<ItripUser> findAll();

    ItripUser getUserByLogin(LoginVO loginVO);

    int addUser(ItripUser user);


    int getUserCodeCount(String userCode);

    int updateRoomBook(ItripHotelRoom room);
}
